<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>结算页面</title>
    <%-- 静态包含 base标签、css样式、jQuery文件 --%>
    <%@include file="/pages/common/head.jsp" %>
    <style type="text/css">
        h1 {
            text-align: center;
            margin-top: 200px;
        }
    </style>
</head>
<body>

<div id="header">
    <span class="wel_word">结算</span>
    <%-- 静态包含用户操作的模块，用户信息模块 --%>
    <%@include file="../common/operation.jsp" %>
</div>

<div id="main">

        <c:if test="${empty sessionScope['order'].order_id}">
            <h1>订单交易失败</h1>
        </c:if>

        <c:if test="${sessionScope['order'] != null}">
            <h1>你的订单已结算，订单号为${sessionScope['order'].order_id}</h1>
            <h1>订单创建时间：${sessionScope['order'].create_time}</h1>
        </c:if>
</div>

<%--静态包含页脚内容--%>
<%@include file="../common/footer.jsp" %>
</body>
</html>